//
// Created by hjie on 23-9-18.
//

#include <iostream>
#include <string>
#include <cstring>
#include <zlib.h>

int main()
{
    std::string content = "pion.ly";
    uLong crc = crc32(0L, Z_NULL, 0);
    crc = crc32(crc, (const Bytef*)content.c_str(), content.size());
    std::cout << "CRC32: " << std::hex << crc << std::endl;

    return EXIT_SUCCESS;
}